﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace WCF
{
    [ServiceContract]
    public interface IBookingService
    {
        [OperationContract]
        List<Seat> GetSeatsTaken(Show showObj, bool retriveAssociation);
        [OperationContract]
        int CreateBooking(List<string> seatIds, DateTime dtStart, string cName, string phoneNo, int reservation, double pricePrTicket);
        [OperationContract]
        DateTime[] GetDates14days();
        [OperationContract]
        List<Show> GetShowsForThisDate(DateTime date);
        [OperationContract]
        List<Booking> FindBookings(string phoneNo);
        [OperationContract]
        int DeleteBooking(Booking bookingObj);
    }
}
